projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a9926
)
(cua--highlight-rectangle): Only show
author
Kim F. Storm
<storm@cua.dk>
Mon, 1 Aug 2005 22:06:42 +0000
(22:06 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Mon, 1 Aug 2005 22:06:42 +0000
(22:06 +0000)
rectangle overlay in selected window.
lisp/emulation/cua-rect.el
patch
|
blob
|
history
diff --git
a/lisp/emulation/cua-rect.el
b/lisp/emulation/cua-rect.el
index baa61fcb3950b4358e5deb6cb8e156c874743a29..d83ebd543cde88d87429400952c1b59e9616515b 100644
(file)
--- a/
lisp/emulation/cua-rect.el
+++ b/
lisp/emulation/cua-rect.el
@@
-833,6
+833,7
@@
If command is repeated at same position, delete the rectangle."
(overlay-put overlay 'after-string as)
(overlay-put overlay 'face rface)
(overlay-put overlay 'keymap cua--overlay-keymap)
+ (overlay-put overlay 'window (selected-window))
(setq new (cons overlay new))))))
;; Trim old trailing overlays.
(mapcar (function delete-overlay) old)